﻿<script type="text/javascript">
<!--
var imag=new Array();
var link=new Array();
var text=new Array();
var target=new Array();
var pics="",links="",targets="",texts="";
<!--{rzlist type="product" havephoto="1" number="5"}-->
<!--{loop}-->
imag[${i}]="${productimg_src}";
link[${i}]="${url}";
text[${i}]="${productname_nolink}";
<!--{/loop}-->
<!--{/rzlist}-->
for(var i=1; i<imag.length; i++){
	pics=pics+("|"+imag[i]);
	links=links+("|"+link[i]);
	texts=texts+("|"+text[i]);
	targets=targets+("|"+targets[i]);
}
pics=pics.substring(1);
links=links.substring(1);
texts=texts.substring(1);
targets=targets.substring(1);
var focus_width = parseInt('300');
var focus_height = parseInt('155');
var borderwidth = 0;
var borderheight = 0;
var text_height = 23;
var swf_height = focus_height + text_height;
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="' + focus_width + '" height="' + swf_height + '">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="images/focus.swf"> <param name="quality" value="high"><param name="bgcolor" value="#ffffff">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="pics=' + pics + '&links=' + links + '&texts=' + texts + '&borderwidth=' + focus_width + '&borderheight=' + focus_height + '&textheight=' + text_height + '">');
document.write('<embed src="images/focus.swf"  wmode="opaque" FlashVars="pics=' + pics + '&links=' + links + '&texts=' + texts + '&borderwidth=' + focus_width + '&borderheight=' + focus_height + '&textheight=' + text_height + '" menu="false" bgcolor="#ffffff" quality="high" width="' + focus_width + '" height="' + swf_height + '" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>'); 
//-->
</script>